<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    .box{
      position: relative;
      width:224px;
      height:224px;
      margin: 200px auto;
    }
    .box img{
      position: absolute;
      transition: all 1s;
    }
    .box img:first-child{
      z-index: 1  ;
      backface-visibility: hidden;
    }
    /* .box img:last-child{
      transform: rotateY(-180deg);
    } */
    .box:hover img{
      /* z-index: 0; */
      transform: rotateY(-180deg)
    }
  </style>
</head>

<body>
  <section class="box">
    <img src="./images/qian.svg" alt="">
    <img src="./images/hou.svg" alt="">
  </section>
</body>

</html>